<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>行内块巧妙运用</title>
    <style>

        *{
            margin: 0;
            padding: 0;
        }

        a {
            text-decoration: none;
            color: #333;
        }

        .box{
            text-align: center;
            font-size: 14px;
            color: #333;
        }

        .box a{
            display: inline-block;
            width: 36px;
            height: 36px;
            line-height: 36px;
            font-size: 14px;
            border:1px solid #ccc;
            background-color: #f7f7f7;
        }

        .box .prev,
        .box .next{
            width: 85px;    
        }

        .box .current,
        .box .ellipsis
        {
            border: none;
            background-color: #fff;
        }

        .jump-page {
            width: 45px;
            height: 36px;
            border:1px solid #ccc;
            outline: none;
        }

        .jump-btn{
            cursor:pointer;
            width: 60px;
            height: 36px;
            background-color: #f7f7f7;
            border: 1px solid #ccc;
        }

    </style>
</head>
<body>
    <div class="box">
        <a href="#" class="prev" >&lt;&lt;上一页</a>
        <a href="#" class="current" >1</a>
        <a href="#">2</a>
        <a href="#">3</a>
        <a href="#">4</a>
        <a href="#">5</a>
        <a href="#">6</a>
        <a href="#" class="ellipsis" >...</a>
        <a href="#" class="next" >下一页&gt;&gt;</a>
        共10页 到第<input class="jump-page"  type="text" name="" id="">页
        <button class="jump-btn" >确定</button>
    </div>
</body>
</html>